<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>首页</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.7 -->
  <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="bower_components/Ionicons/css/ionicons.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="dist/css/AdminLTE.min.css">
  <!-- AdminLTE Skins. Choose a skin from the css/skins
       folder instead of downloading all of them to reduce the load. -->
  <link rel="stylesheet" href="dist/css/skins/_all-skins.min.css">
  <!-- Morris chart -->
  <link rel="stylesheet" href="bower_components/morris.js/morris.css">
  <!-- jvectormap -->
  <link rel="stylesheet" href="bower_components/jvectormap/jquery-jvectormap.css">
  <!-- Date Picker -->
  <link rel="stylesheet" href="bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
  <!-- Daterange picker -->
  <link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css">
  <!-- bootstrap wysihtml5 - text editor -->
  <link rel="stylesheet" href="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->

  <!-- Google Font -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  <!-- 本页样式 -->
  <link rel="stylesheet" href="dist/css/crmstyle.css">
</head>

<body class="hold-transition skin-blue sidebar-mini">
  <div class="wrapper">
    <!-- 公共头部 begin-->
    <header class="main-header">
      <!-- Logo -->
      <a href="index2.html" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini">
          <b>龟米</b>
        </span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg">
          <img src="dist/img/icon_index.png" width="30" height="30" />
          <b>龟米管理系统</b>
        </span>
      </a>
      <!-- Header Navbar: style can be found in header.less -->
      <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
          <span class="sr-only">Toggle navigation</span>
        </a>

        <div class="navbar-custom-menu">
          <ul class="nav navbar-nav">
            <!-- User Account: style can be found in dropdown.less -->
            <li class="dropdown user user-menu">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <img src="dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
                <span class="hidden-xs">Alexander Pierce</span>
              </a>
              <ul class="dropdown-menu">
                <!-- User image -->
                <li class="user-header" style="height: 110px;">
                  <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                </li>
                <!-- Menu Body -->

                <!-- Menu Footer-->
                <li class="user-footer">
                  <div class="pull-left">
                    <a href="#" class="btn btn-default btn-flat">Profile</a>
                  </div>
                  <div class="pull-right">
                    <a href="#" class="btn btn-default btn-flat">Sign out</a>
                  </div>
                </li>
              </ul>
            </li>
            <!-- Control Sidebar Toggle Button -->
            <li>
              <a href="#" data-toggle="control-sidebar">
                <i class="fa fa-gears"></i>
              </a>
            </li>
          </ul>
        </div>
      </nav>
    </header>
    <!-- 公共头部 end-->
    <!-- Left side column. contains the logo and sidebar -->
    <!-- 左侧列表导航 begin -->
    <aside class="main-sidebar">
      <!-- sidebar: style can be found in sidebar.less -->
      <section class="sidebar">
        <!-- Sidebar user panel -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu" data-widget="tree">
          <li class="header"></li>
          <li class="active">
            <a href="index.html">
              <img class="fa-index" src="dist/img/icon_nav_01.png"/>
              <span>首页</span>
            </a>
          </li>
          <li class="treeview">
            <a href="#">
              <img class="fa-datas" src="dist/img/icon_nav_02.png"/>
              <span>数据分析</span>
              <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
            </a>
            <ul class="treeview-menu">
              <li>
                <a href="pages/dataanalysis/recordOfReceipts.html">
                  <i class="fa fa-circle-o"></i> 收账记录</a>
              </li>
              <li>
                <a href="pages/dataanalysis/customerdata.html">
                  <i class="fa fa-circle-o"></i> 客户数据</a>
              </li>

            </ul>
          </li>

          <li class="treeview">
            <a href="#">
              <!--<i class="fa fa-client"></i>-->
              <img class="fa-client" src="dist/img/icon_nav_03.png"/>
              <span>客户管理</span>
              <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
            </a>
            <ul class="treeview-menu">
              <li>
                <a href="pages/customerManagement/myclient.html">
                  <i class="fa fa-circle-o"></i> 我的客户</a>
              </li>
              <li>
                <a href="pages/customerManagement/platformCustomer.html">
                  <i class="fa fa-circle-o"></i> 平台客户</a>
              </li>
              <li>
                <a href="pages/customerManagement/setting.html">
                  <i class="fa fa-circle-o"></i> 设置</a>
              </li>
            </ul>
          </li>
          <li class="treeview">
            <a href="#">
              <!--<i class="fa fa-templates"></i>-->
              <img class="fa-templates" src="dist/img/icon_nav_04.png"/>
              <span>营销管理</span>
              <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
            </a>
            <ul class="treeview-menu">
              <li>
                <a href="pages/marketingManagement/templatemessage.html">
                  <i class="fa fa-circle-o"></i> 模板消息</a>
              </li>
              <li>
                <a href="pages/marketingManagement/templateShort.html">
                  <i class="fa fa-circle-o"></i> 短信推送</a>
              </li>
              <li>
                <a href="javascript:">
                  <i class="fa fa-circle-o"></i> 系统消息</a>
              </li>
              <li>
                <a href="pages/marketingManagement/dvertisingIndex.html.html">
                  <i class="fa fa-circle-o"></i> 广告投放</a>
              </li>

            </ul>
          </li>
        </ul>
      </section>
      <!-- /.sidebar -->
    </aside>
    <!-- 左侧列表导航 end -->
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
      <!-- Content Header (Page header) -->
      <!-- Main content -->
      <section class="content">
        <!-- Small boxes (Stat box) -->
        <div class="row">
          <div class="col-lg-3 col-xs-6 index_litems">
            <!-- small box -->
            <div class="small-box bg-xg1">
              <div class="inner">
                <P>今日实收金额</P>
                <p class="txt2">
                  <span style="font-size: 12px;">￥</span>150</p>
                <p>
                  日
                  <i class="fa fa-fw fa-arrow-up" style="font-size: 14px;"></i>
                  12.33%
                </p>
                <p>周
                  <i class="fa fa-fw fa-arrow-down" style="font-size: 14px;color:#f00;"></i>
                  12.33%
                </p>
              </div>
            </div>
          </div>
          <!-- ./col -->
          <div class="col-lg-3 col-xs-6 index_litems">
            <!-- small box -->
            <div class="small-box bg-xg2">
              <div class="inner">
                <P>今日到店客戶</P>
                <p class="txt2">
                  <span style="font-size: 12px;">￥</span>150</p>
                <p>
                  日
                  <i class="fa fa-fw  fa-minus" style="font-size: 14px;"></i>
                  <i class="fa fa-fw  fa-minus" style="font-size: 14px;"></i>
                  <i class="fa fa-fw  fa-minus" style="font-size: 14px;"></i>
                  <!--12.33%-->
                </p>
                <p>周
                  <i class="fa fa-fw fa-arrow-up" style="font-size: 14px;"></i>
                  12.33%
                </p>
              </div>
            </div>
          </div>
          <!-- ./col -->
          <div class="col-lg-3 col-xs-6 index_litems">
            <!-- small box -->
            <div class="small-box bg-xg3">
              <div class="inner">
                <P>今日订单笔数</P>
                <p class="txt2">
                  <span style="font-size: 12px;">￥</span>150</p>
                <p>
                  日
                  <i class="fa fa-fw fa-arrow-up" style="font-size: 14px;"></i>
                  12.33%
                </p>
                <p>周
                  <i class="fa fa-fw fa-arrow-up" style="font-size: 14px;"></i>
                  12.33%
                </p>
              </div>
            </div>
          </div>
          <!-- ./col -->
          <div class="col-lg-3 col-xs-6 index_litems">
            <!-- small box -->
            <div class="small-box bg-xg4">
              <div class="inner">
                <P>今日平均客单价</P>
                <p class="txt2">
                  <span style="font-size: 12px;">￥</span>150</p>
                <p>
                  日
                  <i class="fa fa-fw fa-arrow-up" style="font-size: 14px;"></i>
                  12.33%
                </p>
                <p>周
                  <i class="fa fa-fw fa-arrow-up" style="font-size: 14px;"></i>
                  12.33%
                </p>
              </div>
            </div>
          </div>
          <!-- ./col -->
        </div>
        <!-- /.row -->
        <!-- Main row -->
        <div class="row">
          <!-- Left col -->
          <section class="col-lg-12 connectedSortable">
            <!-- Custom tabs (Charts with tabs)-->
            <div class="nav-tabs-custom">
              <!-- Tabs within a box -->
              <ul class="nav nav-tabs pull-right bg_gray">
                <li class="pull-left header ">
                  今日营业情况</li>
              </ul>
              <div class="tab-content no-padding">
                <!-- Morris chart - Sales -->
                <div class="chart tab-pane active" id="line-charts" style="position: relative; height: 300px;"></div>
              </div>
            </div>
            <!-- /.nav-tabs-custom -->
          </section>
          <!-- /.Left col -->
          <!-- Left col -->
          <section class="col-lg-12 connectedSortable">
            <!-- Custom tabs (Charts with tabs)-->
            <div class="nav-tabs-custom">
              <!-- Tabs within a box -->
              <ul class="nav nav-tabs pull-right bg_gray">
                <li class="pull-left header ">
                  今日客流情况</li>
              </ul>
              <div class="tab-content no-padding">
                <!-- Morris chart - Sales -->
                <div class="chart tab-pane active" id="passengerFlow" style="position: relative; height: 300px;"></div>
              </div>
            </div>
            <!-- /.nav-tabs-custom -->
          </section>
          <!-- /.Left col -->
        </div>
        <!-- /.row (main row) -->
      </section>
      <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
    <div class="control-sidebar-bg"></div>
  </div>
  <!-- ./wrapper -->

  <!-- jQuery 3 -->
  <script src="bower_components/jquery/dist/jquery.min.js"></script>
  <!-- jQuery UI 1.11.4 -->
  <script src="bower_components/jquery-ui/jquery-ui.min.js"></script>
  <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
  <script>
    $.widget.bridge('uibutton', $.ui.button);
  </script>
  <!-- Bootstrap 3.3.7 -->
  <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
  <!-- Morris.js charts -->
  <script src="bower_components/raphael/raphael.min.js"></script>
  <script src="bower_components/morris.js/morris.min.js"></script>
  <!-- ChartJS -->
  <script src="dist/js/echarts-all-3.js"></script>
  <!-- Sparkline -->
  <script src="bower_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script>
  <!-- jvectormap -->
  <script src="plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
  <script src="plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
  <!-- jQuery Knob Chart -->
  <script src="bower_components/jquery-knob/dist/jquery.knob.min.js"></script>
  <!-- daterangepicker -->
  <script src="bower_components/moment/min/moment.min.js"></script>
  <script src="bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
  <!-- datepicker -->
  <script src="bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
  <!-- Bootstrap WYSIHTML5 -->
  <script src="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
  <!-- Slimscroll -->
  <script src="bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
  <!-- FastClick -->
  <script src="bower_components/fastclick/lib/fastclick.js"></script>
  <!-- AdminLTE App -->
  <script src="dist/js/adminlte.min.js"></script>
  <!-- AdminLTE dashboard demo (This is only for demo purposes) -->
  <script src="dist/js/pages/dashboard.js"></script>
  <!-- AdminLTE for demo purposes -->
  <script src="dist/js/demo.js"></script>
  <script type="text/javascript">
    var businessTodayCharts = echarts.init(document.getElementById('line-charts')); // 今日营业情况 begin
    var passengerFlowCharts = echarts.init(document.getElementById('passengerFlow')); //今日客流情况
    var colors = ['#02c1b2'];
    // 今日营业情况
    option_business = {
      color: colors,
      tooltip: {
        trigger: 'none',
        axisPointer: {
          type: 'cross'
        }
      },
      // legend: {
      //   data: ['2015 降水量', '2016 降水量'],
      //   bottom: "8px"
      // },
      grid: {
        top: 20,
        bottom: 50
      },
      xAxis: [{
        type: 'category',
        axisTick: {
          alignWithLabel: true
        },
        axisLine: {
          onZero: false,
          lineStyle: {
            color: colors[0]
          }
        },
        axisPointer: {
          label: {
            formatter: function (params) {
              return '今日营业情况  ' + params.value + '：' + params.seriesData[0].data;
            }
          }
        },
        data: ["8:00-10:00", "10:00-12:00", "12:00-14:00", "14:00-16:00", "16:00-18:00", "18:00-20:00",
          "20:00-22:00"
        ]
      }, ],
      yAxis: [{
        type: 'value'
      }],
      series: [{
        // name: '2016 降水量',
        type: 'line',
        smooth: true,
        data: [560, 800, 1300, 300, 200, 400, 800]
      }]
    };
    option_passengerFlow = {
      color: colors,
      tooltip: {
        trigger: 'none',
        axisPointer: {
          type: 'cross'
        }
      },
      // legend: {
      //   data: ['2015 降水量', '2016 降水量'],
      //   bottom: "8px"
      // },
      grid: {
        top: 20,
        bottom: 50
      },
      xAxis: [{
        type: 'category',
        axisTick: {
          alignWithLabel: true
        },
        axisLine: {
          onZero: false,
          lineStyle: {
            color: colors[0]
          }
        },
        axisPointer: {
          label: {
            formatter: function (params) {
              return '今日营业情况  ' + params.value + '：' + params.seriesData[0].data;
            }
          }
        },
        data: ["8:00-10:00", "10:00-12:00", "12:00-14:00", "14:00-16:00", "16:00-18:00", "18:00-20:00",
          "20:00-22:00"
        ]
      }, ],
      yAxis: [{
        type: 'value'
      }],
      series: [{
        // name: '2016 降水量',
        type: 'line',
        smooth: true,
        data: [560, 800, 1300, 300, 200, 400, 800]
      }]
    };
    // 为echarts对象加载数据 
    businessTodayCharts.setOption(option_business); // 今日营业情况
    passengerFlowCharts.setOption(option_passengerFlow); //今日客流情况
    // 今日营业情况 begin
  </script>
</body>

</html>